package com.pinoc.demo.mapper;

import com.pinoc.demo.bean.security.UserEntry;
import com.pinoc.demo.domain.user.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yinpeng
 */
public interface UserMapper {

	List<User> selectAll();

	UserEntry loadUserByUsername(@Param("username") String username);
}
